//
//  RequestManager.h
//  SheMeasured
//
//  Created by ddkj on 2019/4/3.
//  Copyright © 2019 xmddkj. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^RequestCompletion)(void);

@interface RequestManager : NSObject

+ (RequestManager *)shared;

- (void)getRequestWithUrl:(NSString *)url params:(NSDictionary *)params completion:(RequestCompletion)completion;
- (void)postRequestWithUrl:(NSString *)url params:(NSDictionary *)params completion:(RequestCompletion)completion;

@end

NS_ASSUME_NONNULL_END
